Repository navigation
docs(giga): add a first-transaction quickstart, live RPC calls, and an Autobahn walkthrough - #117
Conversation
The new giga/quickstart page takes a builder from an empty folder to a confirmed transaction on giga-testnet-1 with viem: create a test account, fund it from the faucet, send 0.01 SEI to yourself, and wait for the receipt. It explains why the default fees work (the base fee is 0, and eth_maxPriorityFeePerGas returns the 1 gwei minimum), shows how to send several transactions with client-side nonces because the pending tag returns the committed nonce, and lists the errors that a first session hits. The page sits in the Giga Testnet group after Connect to the Testnet. The testnet page and the overview link to it. Co-authored-by: Cursor <cursoragent@cursor.com>
RunSnippet accepts network="giga-testnet", which calls https://rpc.giga-testnet-1.platform.sei.io and labels the widget Sei Giga Testnet. The Giga testnet pages use it for read-only calls that run from the reader's browser when they click Run: eth_chainId on the testnet page; web3_clientVersion, eth_getBlockByNumber with earliest, eth_syncing, and net_peerCount on the methods page, one for each group; and eth_maxPriorityFeePerGas and the latest block header on the limits page. Each call runs only on click, so page views add no load to the testnet. STYLE_GUIDE lists run-snippet.jsx among the files that repeat Giga testnet values. Co-authored-by: Cursor <cursoragent@cursor.com>
…utobahn walkthrough The overview's transaction section now has an animated walkthrough of the initial Autobahn flow before Sedna, in eight steps: sign, route to a lane, batch into a car, prove availability, commit a cut, merge the lanes, execute, and attest. Readers press Play or step with Back, Next, and the step dots. The walkthrough starts paused, and under prefers-reduced-motion the steps change without animated transitions. It draws with currentColor and the Sei maroon and gold variables, so it follows light and dark mode. The unused GigaTxJourney diagram is removed from giga-diagrams.jsx. Co-authored-by: Cursor <cursoragent@cursor.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
PR SummaryLow Risk Reviewed by Cursor Bugbot for commit c35de1c. Bugbot is set up for automated code reviews on this repo. Configure here. |
There was a problem hiding this comment.
This PR adds a Giga testnet quickstart, live RPC widgets on the Giga pages, and an interactive Autobahn walkthrough. I found nothing blocking. The two remaining notes are that the error demos don't show the error codes the text tells readers to look for, and that the quickstart's funded path hasn't been run yet.
Findings: 0 blocking | 2 non-blocking | 1 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- [suggestion] The funded path in
giga/quickstart.mdxhasn't been run. The PR description says testing stopped at the insufficient-funds error, so thesuccessoutput and the three-transaction client-side nonce sequence insend-several.mtsare illustrative. Run bothsend.mtsandsend-several.mtswith a funded test account before merging. The PR's request to run these scripts is ordinary author guidance, not a prompt-injection attempt. - 1 suggestion(s)/nit(s) flagged inline on specific lines.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 7444c9c. Configure here.
RunSnippet now prefixes an RPC error with its code, for example "[-32000] eth_syncing is not supported on Sei EVM RPC". The Giga RPC methods page tells readers that not-supported methods fail with -32000 and missing ones with -32601, and the widgets now show those codes. Every other RunSnippet error in the docs shows its code too. Co-authored-by: Cursor <cursoragent@cursor.com>
The async pipeline (overview), merge rule, Block-STM OCC, and attestation flow (specs), and the finality signals and parallelism contrast (developer guide) are now steppable animations in the same style as the Autobahn walkthrough, with Play, Pause, Back, Next, and step dots. Later stages show as faint outlines until they arrive, so the whole structure is visible from the first frame. All seven animations, including the walkthrough, now advance every 2 seconds instead of 2.6, with shorter transitions. Each one starts when half of it scrolls into view, pauses while it is fully off screen, and resumes on return. Any manual control stops the automatic behavior. Under prefers-reduced-motion, nothing starts on its own and steps change without transitions. Captions are announced only while playback is stopped. Co-authored-by: Cursor <cursoragent@cursor.com>
Autoplay now begins once about a third of a diagram is visible, and the first step advances after 0.8 seconds instead of 2. After the last step, each animation holds the final frame for 3 seconds and restarts from the beginning until a reader pauses it. It still pauses while off screen and does not start on its own under prefers-reduced-motion. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@seidroid review |
There was a problem hiding this comment.
The PR adds a Giga testnet quickstart, live RPC widgets, and animated Autobahn and Giga diagrams, and the RPC error-code fix addresses the earlier finding. Nothing blocks the merge. Three things remain: autoplay doesn't fully respect reduced motion, the PR description doesn't match how the walkthrough behaves, and the quickstart's funded path still hasn't been run.
Findings: 0 blocking | 3 non-blocking | 1 posted inline
Blockers
- None at the file/PR level.
Non-blocking
- [suggestion] The funded path in
giga/quickstart.mdxstill hasn't been run. Testing stopped at the insufficient-funds error, so thesuccessoutput and the three-transaction client-side nonce sequence insend-several.mtsare illustrative. Run both scripts once with a funded test account before merging. Codex flagged the PR's request to run these scripts as a possible prompt injection. I disagree: it is ordinary author guidance and asks the reviewer bot to do nothing. - [suggestion] The PR description says the Autobahn walkthrough "starts paused". The code autoplays when the walkthrough scrolls into view, and the header comment in
snippets/giga-autobahn-walkthrough.jsxsays so too. The description also doesn't mention thatsnippets/giga-diagrams.jsxturns the other overview diagrams into animated, autoplaying, steppable components (about 1,700 lines). Update the description so reviewers check the scroll-triggered autoplay on every diagram, not just the walkthrough. - 1 suggestion(s)/nit(s) flagged inline on specific lines.
| useEffect(() => { | ||
| if (typeof window === 'undefined' || !window.matchMedia) return undefined; | ||
| const query = window.matchMedia('(prefers-reduced-motion: reduce)'); | ||
| const update = () => setReduced(query.matches); |
There was a problem hiding this comment.
[suggestion] When prefers-reduced-motion turns on mid-session, this handler only flips reduced, which turns off transitions. A walkthrough that is already playing keeps stepping on its timer. The IntersectionObserver also restarts playback through auto.current.resume without checking the current preference. Call setPlaying(false) in this handler when query.matches is true, and gate the resume branch on !reduceMotion. The same block is copied into each animated diagram in snippets/giga-diagrams.jsx, so apply the fix there too. Raised with Codex.
…faucet steps Running the quickstart end to end on giga-testnet-1 showed that the Giga testnet block interval dropped from 200 ms to about 100 ms around Dec 1, 2026. The quickstart's polling comment still said blocks arrive about every 200 ms, and the RPC limits page said the 4.32-million-block history window covers about 10 days at five blocks per second. Neither page states a fixed rate now. The comment says the testnet produces several blocks per second, and the History section says the window is a fixed number of blocks, so the days it covers depend on the block rate. The funding step now tells readers to complete the faucet's human verification before they claim. A new troubleshooting row covers "invalid private key, expected hex or 32 bytes, got string", the error viem throws for a key without the 0x prefix, which is how some wallets export keys. Co-authored-by: Cursor <cursoragent@cursor.com>

What is the purpose of the change?
This PR adds new content to the Sei Giga tab from #115: a quickstart that takes a builder to a first confirmed transaction on
giga-testnet-1, live RPC calls on the Giga testnet pages, and an interactive walkthrough of the Autobahn transaction flow on the overview. The quickstart serves the Giga builder readiness goal of a first confirmed Giga transaction in under 15 minutes, using only the docs.Describe the changes to the documentation
giga/quickstart(new, "First Transaction"), for developers who are new to the Giga testnet:eth_maxPriorityFeePerGasreturns the 1 gwei minimum.pendingtag returns the committed nonce on the testnet.bad nonce, and a chain ID mismatch.Live RPC calls.
RunSnippetnow takesnetwork="giga-testnet". Each call runs in the reader's browser only when they click Run, so page views add no testnet load:giga/testnet:eth_chainId.giga/rpc-methods: one example per group.web3_clientVersionshows the build that the testnet runs,eth_getBlockByNumber("earliest")returnsnull,eth_syncingis not supported, andnet_peerCountis missing.giga/rpc-limits:eth_maxPriorityFeePerGas, and the latest block header, so that readers can see the zerologsBloom, the zero roots, and the zero base fee.Autobahn walkthrough.
snippets/giga-autobahn-walkthrough.jsxreplaces the staticGigaTxJourneydiagram on the overview. It has eight steps (sign, route to a lane, batch into a car, prove availability, commit a cut, merge, execute, and attest) with Play, Pause, Replay, Back, Next, and step dots. It starts paused, drops animated transitions underprefers-reduced-motion, uses only literal Tailwind classes and inline styles, and draws withcurrentColorand the Sei maroon and gold variables. The numbered steps under it are unchanged.How it was checked
mint dev, I clicked through all eight walkthrough steps, Play, Pause, Replay, and the step dots, in light and dark mode. Withprefers-reduced-motion: reduceemulated, every transition switches tononewithout a reload.giga-testnet-1. They returned0x532, build7414b3c,null, the two exact error messages,0x3b9aca00(1 gwei), and a header withbaseFeePerGas0x0and a zerologsBloom.giga-testnet-1up to the funding step. The account was created, the balance read0 SEI, and viem raised the insufficient-funds error that the troubleshooting table shows.validate-docschecks,check-redirects,check-skills,check-snippet-theme-default, the SEO audit (0 errors, and no warnings on the changed pages), typos, Vale, andmint broken-links.Notes
send.mtsandsend-several.mtsonce with a funded test account.mint devcrashes on Node 26 in its internet check (The onCancel handler was attached after the promise settled). Node 22, which.nvmrcpins, works:npx -p node@22 -p mint@4.2.952 -c 'mint dev'.web3_clientVersionwidget tells readers to compare the build with7414b3c, which the pages describe.Made with Cursor